package cn.mily.org.domain;

import cn.mily.basics.domain.BasicDomain;
import cn.mily.user.domain.LoginInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Shop extends BasicDomain {
    /*商家名*/
    private String name;
    /*商家电话*/
    private String tel;
    /*注册时间*/
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime = new Date();
    /*注册状态*/
    private Integer state;
    /*商家地址*/
    private String address;
    /*商家logo*/
    private String logo;
    /*商家管理者*/
    private Employee admin;
}
